package com.dong;

/**
 * @program: javase
 * @description:
 * @author: lld
 * @create: 2021-03-05 17:05
 **/
public class Person {
    private String name;

    public Person() {
        System.out.println("父类无参构造");
    }



    public Person(String name) {
        this.name = name;
    }

    Object play(){
        System.out.println("父类play");
        return "父类play";
    }
}
